package top.shmly.universal.base.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import top.shmly.universal.dao.model.SysAccount;

import javax.validation.constraints.NotNull;

/**
 * @program: universal
 * @description: 系统账号密码
 * @author: Jibny
 * @date 2021-04-25 10:41:52
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class SysUser {
    @ApiModelProperty(value = "帐号", position = 1)
    @NotNull
    private String username;

    @ApiModelProperty(value = "密码", position = 2)
    @NotNull
    private String password;
}
